/**
 * @(#) Date.java
 */
package org.genew.squadra.xml.model.content.metadati;
import java.util.Date;
public class Data
{
	private String id;
	
	private Date value;

    public Data(String id, Date date) {
        this.id = id;
        this.value = date;
    }
    
	public Data(Date value) {
        this.id = this.getClass().getName().substring(45);
		this.value = value;
    }
	
	public void setId( String id )
	{
		this.id=id;
	}
	
	public String getId( )
	{
		return id;
	}
	
	public void setValue( Date date )
	{
		this.value=date;
	}
	
	public Date getValue( )
	{
		return value;
	}
	
	
}
